﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Common.Services
{
    public enum EnumCode
    {
        [Description("登录成功")]
        LoginSuccess = 100,
        [Description("登录失败")]
        LoginFailure = 101,
        [Description("查询成功")]
        SearchSuccess = 200,
        [Description("查询失败")]
        SearchFailure = 201,
        [Description("新增成功")]
        AddSuccess = 300,
        [Description("新增失败")]
        AddFailure = 301,
        [Description("删除成功")]
        DelSuccess = 400,
        [Description("删除失败")]
        DelFailure = 401,
        [Description("编辑成功")]
        UpdSuccess = 500,
        [Description("编辑失败")]
        UpdFailure = 501,
        [Description("导出成功")]
        ExporSuccess = 600,
        [Description("导出失败")]
        ExporFailure = 601
    }
    public enum SystemRole
    {
        [Description("超级管理员")]
        超级管理员=1,
        [Description("系统管理员")]
        系统管理员 = 2,
    }
}
